package com.yxw.yxnet_cd_center.customer_service.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.validation.annotation.Validated;

import javax.validation.Valid;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * 设置群DTO
 * @author liuxin
 * @date 2023.09.15
 */
@Data
@ApiModel(value="FlockAddDTO", description="设置群DTO")
public class FlockAddDTO implements Serializable {

    @NotNull(message = "工作组不能为空")
    @ApiModelProperty(value = "工作组ID")
    private Long groupId;

    @Valid
    @ApiModelProperty(value = "群信息")
    private List<FlockDTO> flockList;
}
